$(function () {
    // 获取配置json内容
    $.webConfig ={
        "apiUrl":"/proxy.php?api="
    }
    
   

    if (!window.console) {
        window.console = {};
        window.console.log = function () {
            return;
        }
    }


    $.timeFillter = function (date) {
        var y = date.getFullYear();
        var m = date.getMonth() + 1;
        var d = date.getDate();
        var hour = date.getHours().toString();
        var minutes = date.getMinutes().toString();
        var seconds = date.getSeconds().toString();
        if (hour < 10) {
            hour = "0" + hour;
        }
        if (minutes < 10) {
            minutes = "0" + minutes;
        }
        if (seconds < 10) {
            seconds = "0" + seconds;
        }
        return y + '-' + m + '-' + d + " 00:00:00";
    }

});